#include <bits/stdc++.h>
#define ll long long
#define debug(...) fprintf(stderr,__VA_ARGS__)
using namespace std;

inline static ll read(){
    ll sum=0; int neg=0,ch=getchar();
    while(!isdigit(ch)) neg|=(ch=='-'),ch=getchar();
    while(isdigit(ch)) sum=sum*10+(ch^48),ch=getchar();
    return neg?-sum:sum;
}

int n; ll arr[30000];
signed main(){
    freopen("kte0.in","w",stdout);
    int T=3e4; printf("%d\n",T);
    for(int i=1;i<=T;i++) printf("%d\n",T-i+1);
    
    return 0;
}
